package com.qunji.cpsdistribution.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author sjq
 * @since 2020-07-23
 */
public class Saleroom extends Model<Saleroom> {

    private static final long serialVersionUID = 1L;

    /**
     * 销售额id
     */
    @TableId(value = "saleroom_id", type = IdType.AUTO)
    private Long saleroomId;
    /**
     * 周额
     */
    private BigDecimal weekMoney;
    /**
     * 月额
     */
    private BigDecimal monthMoney;
    /**
     * 年额
     */
    private BigDecimal yearMoney;
    /**
     * 日额
     */
    private BigDecimal dayMoney;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 入住商家id
     */
    private Long merchantEnterId;
    /**
     * 分销店铺id
     */
    private Long distributionId;
    /**
     * 总额
     */
    private BigDecimal rental;


    public Long getSaleroomId() {
        return saleroomId;
    }

    public void setSaleroomId(Long saleroomId) {
        this.saleroomId = saleroomId;
    }

    public BigDecimal getWeekMoney() {
        return weekMoney;
    }

    public void setWeekMoney(BigDecimal weekMoney) {
        this.weekMoney = weekMoney;
    }

    public BigDecimal getMonthMoney() {
        return monthMoney;
    }

    public void setMonthMoney(BigDecimal monthMoney) {
        this.monthMoney = monthMoney;
    }

    public BigDecimal getYearMoney() {
        return yearMoney;
    }

    public void setYearMoney(BigDecimal yearMoney) {
        this.yearMoney = yearMoney;
    }

    public BigDecimal getDayMoney() {
        return dayMoney;
    }

    public void setDayMoney(BigDecimal dayMoney) {
        this.dayMoney = dayMoney;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getMerchantEnterId() {
        return merchantEnterId;
    }

    public void setMerchantEnterId(Long merchantEnterId) {
        this.merchantEnterId = merchantEnterId;
    }

    public Long getDistributionId() {
        return distributionId;
    }

    public void setDistributionId(Long distributionId) {
        this.distributionId = distributionId;
    }

    public BigDecimal getRental() {
        return rental;
    }

    public void setRental(BigDecimal rental) {
        this.rental = rental;
    }

    @Override
    protected Serializable pkVal() {
        return this.saleroomId;
    }

    @Override
    public String toString() {
        return "Saleroom{" +
        ", saleroomId=" + saleroomId +
        ", weekMoney=" + weekMoney +
        ", monthMoney=" + monthMoney +
        ", yearMoney=" + yearMoney +
        ", dayMoney=" + dayMoney +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", merchantEnterId=" + merchantEnterId +
        ", distributionId=" + distributionId +
        ", rental=" + rental +
        "}";
    }
}
